#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int a = 2;
	int b = 3;
	int c = 1;
	//a >= b >= c
	if (a < b)
	{
		int tmp = a;
		a = b;
		b = tmp;
	}//a >= b
	if (a < c)
	{
		int tmp = a;
		a = c;
		c = tmp;
	}//a >= c
	//a >= b    a >= c
	if (b < c)
	{
		int tmp = b;
		b = c;
		c = tmp;
	}
	printf("a=%d b=%d c=%d\n", a, b, c);
	return 0;
}